<?php
	include('../include/configs.inc.php');
	
	if(!empty($_GET['pays'])) {
		$pays = $_GET['pays'];
	
		$sqlville = "SELECT id, name FROM city WHERE CountryCode='".$pays."'";
		$listville = $world->query($sqlville);
?>
		Ville : <select name="ville" id="ville">
					<?php
						while($ville = $listville->fetch_object()) {
					?>
							<option value="<?php echo $ville->id; ?>"><?php echo utf8_encode($ville->name); ?></option>
					<?php
						}
					?>
				</select>
<?php
	}
?>